<%@ page import="com.sun.tools.javac.resources.compiler" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<!DOCTYPE html>
<!--[if IE 7 ]> <html lang="en" class="ie7 lte8"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="ie8 lte8"> <![endif]-->
<!--[if IE 9 ]> <html lang="en" class="ie9"> <![endif]-->
<!--[if gt IE 9]> <html lang="en"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en"> <!--<![endif]-->
<s:if test="#session.com_sihai_ehr_session_user_name == null">
    <jsp:forward page= "/login.jsp"/>
</s:if>
<head><!--[if lte IE 9 ]>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><![endif]-->

    <!-- iPad Settings -->
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/>
    <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0"/>
    <!-- Adding "maximum-scale=1" fixes the Mobile Safari auto-zoom bug: http://filamentgroup.com/examples/iosScaleBug/ -->
    <!-- iPad Settings End -->

    <title>Dotrue HR</title>

    <link rel="shortcut icon" href="favicon.ico">

    <!-- iOS ICONS -->
    <link rel="apple-touch-icon" href="touch-icon-iphone.png"/>
    <link rel="apple-touch-icon" sizes="72x72" href="touch-icon-ipad.png"/>
    <link rel="apple-touch-icon" sizes="114x114" href="touch-icon-iphone4.png"/>
    <link rel="apple-touch-startup-image" href="touch-startup-image.png">
    <!-- iOS ICONS END -->

    <!-- STYLESHEETS -->

    <link rel="stylesheet" href="css/reset.css" media="screen"/>
    <link rel="stylesheet" href="css/grids.css" media="screen"/>
    <link rel="stylesheet" href="css/ui.css" media="screen"/>
    <link rel="stylesheet" href="css/forms.css" media="screen"/>
    <link rel="stylesheet" href="css/device/general.css" media="screen"/>
    <!--[if !IE]><!-->
    <link rel="stylesheet" href="css/device/tablet.css"
          media="only screen and (min-width: 768px) and (max-width: 991px)"/>
    <link rel="stylesheet" href="css/device/mobile.css" media="only screen and (max-width: 767px)"/>
    <link rel="stylesheet" href="css/device/wide-mobile.css"
          media="only screen and (min-width: 480px) and (max-width: 767px)"/>
    <!--<![endif]-->
    <link rel="stylesheet" href="css/jquery.uniform.css" media="screen"/>
    <link rel="stylesheet" href="css/jquery.popover.css" media="screen">
    <link rel="stylesheet" href="css/jquery.itextsuggest.css" media="screen">
    <link rel="stylesheet" href="css/themes/lightblue/style.css" media="screen"/>


    <style type="text/css">
        #loading-container {
            position: absolute;
            top: 50%;
            left: 50%;
        }

        #loading-content {
            width: 800px;
            text-align: center;
            margin-left: -400px;
            height: 50px;
            margin-top: -25px;
            line-height: 50px;
        }

        #loading-content {
            font-family: "Helvetica", "Arial", sans-serif;
            font-size: 18px;
            color: black;
            text-shadow: 0px 1px 0px white;
        }

        #loading-graphic {
            margin-right: 0.2em;
            margin-bottom: -2px;
        }

        #loading {
            background-color: #abc4ff;
            background-image: -moz-radial-gradient(50% 50%, ellipse closest-side, #abc4ff, #87a7ff 100%);
            background-image: -webkit-radial-gradient(50% 50%, ellipse closest-side, #abc4ff, #87a7ff 100%);
            background-image: -o-radial-gradient(50% 50%, ellipse closest-side, #abc4ff, #87a7ff 100%);
            background-image: -ms-radial-gradient(50% 50%, ellipse closest-side, #abc4ff, #87a7ff 100%);
            background-image: radial-gradient(50% 50%, ellipse closest-side, #abc4ff, #87a7ff 100%);
            height: 100%;
            width: 100%;
            overflow: hidden;
            position: absolute;
            left: 0;
            top: 0;
            z-index: 99999;
        }

        body, td, th {
            font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif, "微软雅黑";
        }

        li.hide_li{display:none;}
    </style>

    <!-- STYLESHEETS END -->

    <!--[if lt IE 9]>
    <script src="js/html5.js"></script>
    <script type="text/javascript" src="js/selectivizr.js"></script>
    <![endif]-->

    <meta charset="utf-8">
</head>
<body style="overflow: hidden;">
<div id="loading">

    <script type="text/javascript">
        document.write("<div id='loading-container'><p id='loading-content'>" +
                "<img id='loading-graphic' width='16' height='16' src='images/ajax-loader-abc4ff.gif' /> " +
                "Loading...</p></div>");
    </script>

</div>

<div id="wrapper">
    <header>
        <h1><a href="#">vPad</a></h1>
        <nav>
            <div class="container_12">
                <div class="grid_12">
                    <ul class="toolbar clearfix fl">
                        <li>
                            <a href="#public/message-list.xhtml" title="Activity" class="icon-only" id="activity-button">
                                <img src="images/navicons-small/77.png" alt=""/>
                                <s:if test="#request.messageCount >0">
                                <span class="message-count">${messageCount}</span>
                                </s:if>
                            </a>
                        </li>
                        <%--<li>
                            <a href="#" title="Notifications" class="icon-only" id="notifications-button">
                                <img src="images/navicons-small/08.png" alt=""/>
                                <span class="message-count">3</span>
                            </a>
                        </li>--%>
                        <li>
                            <a href="#" title="Settings" class="icon-only" id="settings-button">
                                <img src="images/navicons-small/19.png" alt=""/>
                            </a>
                        </li>
                    </ul>
                    <a href="/logout.xhtml" title="Logout" class="button icon-with-text fr"><img src="images/navicons-small/129.png" alt=""/>Logout</a>
                    <s:if test="#session.com_sihai_ehr_session_user == -1000">
                        <a href="javascript:void(0)" onclick="changePassword()" class="button icon-with-text fr" style="margin-right: 10px">新密码 </a>
                    </s:if>

                    <div class="user-info fr">
                        Logged in as ${com_sihai_ehr_session_user_name}
                    </div>
                </div>
            </div>
        </nav>
    </header>

    <section>
        <!-- Sidebar -->

        <aside>
            <nav class="drilldownMenu">
                <h1>
                    <span class="title">Main Menu</span>
                    <button title="Go Back" class="back">Back</button>
                </h1>
                <div class="clearfix" id="searchform">
                    <div class="searchcontainer">
                        <div class="searchbox" onclick="$(this).find('input').focus();">
                            <input type="text" name="q" id="q" autocomplete="off" placeholder="Search...">
                        </div>
                        <input type="button" value="Cancel"/>
                    </div>
                    <div class="search_results"></div>
                </div>
                <ul class="tlm">
                	<%--新进员工管理--%>
                    <li class="hasul"><a href="#" title="Groups"><img src="images/navicons/29.png" alt=""/><span>新进员工管理</span></a>
                    <ul>
                        <li class="hasul" title="Groups"><a href="#" title="Users"><img src="images/navicons/111.png" alt=""/><span>新进员工管理</span></a>
                            <ul>
                                <li><a href="#invite/invite_list.xhtml?p=apply" title="Users"><img src="images/navicons/111.png" alt=""/><span>新员工招聘申请</span></a> </li>
                                <li><a href="#invite/invite_list.xhtml?p=audit" title="Groups"><img src="images/navicons/112.png" alt=""/><span>新员工招聘审核</span></a> </li>
                                <li><a href="#invite/invite_list.xhtml?p=browse" title="Settings"><img src="images/navicons/106.png" alt=""/><span>新员工招聘浏览</span></a></li>
                            </ul>
                        </li>
                        <li class="hasul" title="Groups"><a href="#" title="Groups"><img src="images/navicons/112.png" alt=""/><span>新员工招聘</span></a>
                            <ul>
                                <li><a href="#invite/invite_list.xhtml?p=invite_arrange" title="Users"><img src="images/navicons/111.png" alt=""/><span>招聘安排</span></a> </li>
                                <li><a href="#invite/invite_list.xhtml?p=interview_arrange" title="Groups"><img src="images/navicons/112.png" alt=""/><span>新员工面试安排</span></a> </li>
                                <li><a href="#invite/invite_list.xhtml?p=staff_report" title="Settings"><img src="images/navicons/106.png" alt=""/><span>新员工报到</span></a> </li>
                                <li><a href="#invite/invite_list.xhtml?p=staff_card" title="Settings"><img src="images/navicons/106.png" alt=""/><span>识别证领取</span></a> </li>
                            </ul>
                        </li>
                    </ul>
                    </li>

 					<%--员工资料管理--%>
                    <li class="hasul"><a href="#dashboard.html" title="员工资料管理"><img src="images/navicons/123.png" alt=""/><span>员工资料管理</span></a>
                        <ul>
                            <li class="hasul"><a href="#" title="Users"><img src="images/navicons/111.png" alt=""/><span>员工资料管理</span></a>
                                <ul>
                                    <li><a href="#employee/staff.xhtml" title="Users"><img src="images/navicons/111.png" alt=""/><span>员工资料设置</span></a></li>
                                    <li><a href="#employee/resign.xhtml" title="Groups"><img src="images/navicons/112.png" alt=""/><span>离职员工资料</span></a></li>
                                    <li><a href="#employee/talent_main.xhtml" title="Settings"><img src="images/navicons/106.png" alt=""/><span>人才储备库</span></a> </li>
                                </ul>
                            </li>
                            <li class="hasul"><a href="#" title="Groups"><img src="images/navicons/112.png" alt=""/><span>合同资料管理</span></a>
                                <ul>
                                <li><a href="#contract/version.xhtml?operation=set" title="Users"><img src="images/navicons/111.png" alt=""/><span>合同版本设置</span></a> </li>
                                    <li><a href="#contract/version.xhtml?operation=audit" title="Groups"><img src="images/navicons/112.png" alt=""/><span>合同版本审核</span></a> </li>
                                    <li><a href="#contract/version.xhtml?operation=list" title="Settings"><img src="images/navicons/106.png" alt=""/><span>合同版本浏览</span></a> </li>
                                    <li><a href="#contract/personnel.xhtml" title="Settings"><img src="images/navicons/106.png" alt=""/><span>合同人员设置</span></a> </li>
                                    <li><a href="#contract/conAudit.xhtml" title="Settings"><img src="images/navicons/106.png" alt=""/><span>合同签订审核</span></a> </li>
                                    <li><a href="#contract/contPersonView.xhtml" title="Settings"><img src="images/navicons/106.png" alt=""/><span>合同人员查看</span></a> </li>
                                </ul>
                            </li>
                        </ul>
                    </li>

                    <%--员工考勤管理--%>
                    <%-- <li class="hasul"><a href="#contacts.html" title="员工考勤管理"><img src="images/navicons/81.png" alt=""/><span>员工考勤管理</span></a>
					  <ul>
					    <li class="hasul"><a href="#" title="Form Sample 1"><img src="images/navicons/111.png" alt=""/><span>考勤管理</span></a>
					      <ul>
					        <li><a href="#考核类型设置.html" title="Form Sample 1"><img src="images/navicons/20.png" alt=""/><span>考勤类型设置</span></a></li>
					        <li><a href="#" title="Custom Form Elements"><img src="images/navicons/111.png" alt=""/><span>考勤计算规则计算</span></a></li>
					        <li><a href="#" title="Custom Form Elements"><img src="images/navicons/111.png" alt=""/><span>考勤节假日</span></a></li>
					        <li><a href="#" title="Custom Form Elements"><img src="images/navicons/111.png" alt=""/><span>班次设置</span></a></li>
					        <li><a href="#" title="Custom Form Elements"><img src="images/navicons/111.png" alt=""/><span>排班设置</span></a></li>
					        <li><a href="#" title="Custom Form Elements"><img src="images/navicons/111.png" alt=""/><span>员工补签卡申请</span></a></li>
					        <li><a href="#" title="Custom Form Elements"><img src="images/navicons/111.png" alt=""/><span>员工补签卡审核</span></a></li>
					        <li><a href="#" title="Custom Form Elements"><img src="images/navicons/111.png" alt=""/><span>加班申请</span></a></li>
					        <li><a href="#" title="Custom Form Elements"><img src="images/navicons/111.png" alt=""/><span>加班审核</span></a></li>
					        <li><a href="#" title="Custom Form Elements"><img src="images/navicons/111.png" alt=""/><span>请假/出差/休假 申请</span></a></li>
					        <li><a href="#" title="Custom Form Elements"><img src="images/navicons/111.png" alt=""/><span>请假/出差/休假 审核</span></a></li>
					      </ul>
					    </li>
					    <li class="hasul"><a href="#" title="Custom Form Elements"><span>考勤报表管理</span></a>
					      <ul>
					        <li><a href="#" title="Form Sample 1"><span>员工刷卡信息查询</span></a></li>
					        <li><a href="#" title="Custom Form Elements"><span>考勤报表</span></a></li>
					      </ul>
					    </li>
					    <li class="hasul"><a href="#" title="Custom Form Elements"><span>考勤设备管理</span></a>
					      <ul>
					        <li><a href="#" title="Form Sample 1"><span>设备登记</span></a></li>
					        <li><a href="#" title="Custom Form Elements"><span>考勤卡管理</span></a></li>
					        <li><a href="#" title="Custom Form Elements"><span>设备通信</span></a></li>
					      </ul>
					    </li>
					  </ul>
					</li> --%>

                    <%--员工培训管理--%>
                    <li class="hasul"><a href="#media.html" title="Media"><img src="images/navicons/42.png" alt=""/><span>员工培训管理</span></a>
					  <ul>
					    <li class="hasul"><a href="#" title="Users"><img src="images/navicons/111.png" alt=""/><span>员工培训管理</span></a>
					      <ul>
					      	<li><a href="#train/category_main.xhtml" title="Form Sample 1"><span>培训类别设定</span></a></li>
					        <li><a href="#train/plan_main.xhtml" title="Form Sample 1"><span>员工培训计划设置</span></a></li>
					        <li><a href="#train/plan_audit_main.xhtml" title="Custom Form Elements"><span>员工培训计划审核</span></a></li>
					        <li><a href="#train/plan_browse_main.xhtml" title="Custom Form Elements"><span>员工培训计划浏览</span></a></li>
					        
					      </ul>
					    </li>
					    <li class="hasul"><a href="#离职员工资料.html" title="Groups"><img src="images/navicons/112.png" alt=""/><span>员工培训学分管理</span></a>
					      <ul>
					        <li><a href="#train/credit_set_main.xhtml" title="Form Sample 1"><span>设置学分</span></a></li>
					        <li><a href="#train/credit_main.xhtml" title="Custom Form Elements"><span>学分管理</span></a></li>
					        <li><a href="#train/credit_statis_main.xhtml" title="Custom Form Elements"><span>学分统计</span></a></li>
					      </ul>
					    </li>
					    <li class="hasul"><a href="#人才储备库.html" title="Settings"><img src="images/navicons/106.png" alt=""/><span>员工培训执行管理</span></a>
					      <ul>
					      	
					        <li><a href="#train/plan_execute_main.xhtml" title="Form Sample 1"><span>培训执行准备</span></a></li>
					        <li><a href="#train/assessweight_main.xhtml" title="Custom Form Elements"><span>教育训练评价权重</span></a></li>
					        <li><a href="#train/plan_assess_main.xhtml" title="Custom Form Elements"><span>教育训练评价</span></a></li>
					      </ul>
					    </li>
					    <li class="hasul"><a href="#人才储备库.html" title="Settings"><img src="images/navicons/106.png" alt=""/><span>员工外训管理</span></a>
					      <ul>
					        <li><a href="#train/outing_train_main.xhtml" title="Form Sample 1"><span>外训申请</span></a></li>
					        <li><a href="#train/outing_audit_main.xhtml" title="Custom Form Elements"><span>外训审核</span></a></li>
					        <li><a href="#train/plan_assess_outing_main.xhtml" title="Custom Form Elements"><span>外训评价</span></a></li>
					        <li><a href="#train/outing_close_audit_main.xhtml" title="Custom Form Elements"><span>外训结案审核</span></a></li>
					      </ul>
					    </li>
					    <li class="hasul"><a href="#人才储备库.html" title="Settings"><img src="images/navicons/106.png" alt=""/><span>员工培训资源管理</span></a>
					      <ul>
					        <li><a href="#train/lecturer_main.xhtml" title="Form Sample 1"><span>内部讲师管理</span></a></li>
					        <li><a href="#train/classroom_main.xhtml" title="Custom Form Elements"><span>员工培训室管理</span></a></li>
					        <li><a href="#train/materresource_main.xhtml" title="Custom Form Elements"><span>教材资源管理</span></a></li>
					        <li><a href="#train/realiaresource_main.xhtml" title="Custom Form Elements"><span>教具资源管理</span></a></li>
					      </ul>
					    </li>
					  </ul>
					</li>

                    <%--员工考核管理--%>
                    <li class="hasul"><a href="#" title="Forms"><img src="images/navicons/139.png" alt=""/><span>员工考核管理</span></a>
                        <ul>
                            <li class="hasul"><a href="#forms1.html" title="Form Sample 1"><span>考核项目管理</span></a>
                                <ul>
                                    <li ><a href="#exam/base_config_main.xhtml" title="Form Sample 1"><span>考核指标管理</span></a></li>
                                </ul>
                            </li>
                            <li class="hasul"><a href="#forms2.html" title="Custom Form Elements"><span>定性考核管理</span></a>
                                <ul>
                                	<li><a href="#exam/qual_target_main.xhtml" title="Custom Form Elements"><span>考核对象设置</span></a></li>
                                    <li ><a href="#exam/qualset_main.xhtml" title="Form Sample 1"><span>强制性分布设定</span></a></li>
                                    <li><a href="#exam/exam_list.xhtml?p=qual_standset" title="Custom Form Elements"><span>考核标准设定</span></a></li>
                                    <li><a href="#exam/qual_item_main.xhtml" title="Custom Form Elements"><span>考核项目设定</span></a></li>
                                    <li><a href="#exam/exam_score.xhtml?p=qual_sc" title="Custom Form Elements"><span>考核打分</span></a></li>
                                    <li><a href="#exam/exam_score.xhtml?p=qual_as" title="Custom Form Elements"><span>调整和特批</span></a></li>
                                    <li><a href="#exam/exam_list.xhtml?p=qual_browse" title="Custom Form Elements"><span>考核历史浏览</span></a></li>
                                </ul>
                            </li>
                            <li class="hasul"><a href="#forms2.html" title="Custom Form Elements"><span>定量考核管理</span></a>
                                <ul>
                                    <li ><a href="#exam/itemset_main.xhtml" title="Form Sample 1"><span>考核项目设定</span></a></li>
                                    <li><a href="#exam/quan_input_main.xhtml" title="Custom Form Elements"><span>量化数据输入</span></a></li>
                                    <li><a href="#exam/quan_audit_main.xhtml" title="Custom Form Elements"><span>量化数据审核</span></a></li>
                                    <li><a href="#exam/quan_history_main.xhtml" title="Custom Form Elements"><span>考核历史浏览</span></a></li>
                                </ul>
                            </li>
                            <li class="hasul"><a href="#forms2.html" title="Custom Form Elements"><span>考核应用管理</span></a>
                                <ul>
                                    <li ><a href="#exam/facetalk_main.xhtml" title="Form Sample 1"><span>考核面谈</span></a></li>
                                    <li><a href="#exam/statisticsview_main.xhtml?p=qual_browse" title="Custom Form Elements"><span>考核历史浏览</span></a></li>
                                </ul>
                            </li>
                            <li class="hasul"><a href="#forms2.html" title="Custom Form Elements"><span>员工奖惩管理</span></a>
						      <ul>
						        <li ><a href="#exam/awarditem_main.xhtml" title="Form Sample 1"><span>奖惩项目设定</span></a></li>
						        <li><a href="#exam/award_manage.xhtml" title="Custom Form Elements"><span>奖惩申请</span></a></li>
						        <li><a href="#exam/award_audit_main.xhtml" title="Custom Form Elements"><span>奖惩审核</span></a></li>
						        <li><a href="#exam/award_browse_main.xhtml" title="Custom Form Elements"><span>奖惩浏览</span></a></li>
						      </ul>
						    </li>
                        </ul>
                    </li>

                    <%--员工异动管理--%>
                    <li class="hasul"><a href="#" title="Forms"><img src="images/navicons/42.png" alt=""/><span>员工异动管理</span></a>
                        <ul>
                            <li><a href="#transaction/organization_main.xhtml?t=<%=new java.util.Date()%>" title="Form Sample 1"><span>部门异动</span></a>
                            </li>
                            <li><a href="#transaction/promotion_main.xhtml?t=<%=new java.util.Date()%>" title="Form Sample 1"><span>晋升异动</span></a>
                            </li>
                            <li><a href="#transaction/demotion_main.xhtml?t=<%=new java.util.Date()%>" title="Form Sample 1"><span>降职异动</span></a>
                            </li>
                        </ul>
                    </li>

                    <%--员工薪资福利管理--%>
                    <li class="hasul"><a href="#wizard.html" title="Wizard"><img src="images/navicons/165.png" alt=""/><span>员工薪资福利管理</span></a>
                        <ul>
                            <li ><a href="#salary/struct_main.xhtml" title="Form Sample 1"><span>薪资架构管理</span></a></li>
                            <li><a href="#salary/custom_main.xhtml" title="Custom Form Elements"><span>自定义薪资管理</span></a></li>
                            <li><a href="#salary/insurance_main.xhtml" title="Custom Form Elements"><span>社保管理</span></a></li>
                            <li><a href="#salary/individual_tax_main.xhtml" title="Custom Form Elements"><span>个人所得税管理</span></a></li>
                            <li><a href="#salary/overtime_tax_main.xhtml" title="Custom Form Elements"><span>加班费管理</span></a></li>
                            <li><a href="#salary/performance_main.xhtml" title="Custom Form Elements"><span>绩效奖金管理</span></a></li>
                            <li><a href="#salary/base_salary_main.xhtml" title="Custom Form Elements"><span>底薪管理</span></a></li>
                            <li><a href="#salary/balance_main.xhtml" title="Custom Form Elements"><span>薪资结算</span></a></li>
                            <li><a href="#salary/salary_statistics_main.xhtml" title="Custom Form Elements"><span>薪资福利管理统计</span></a></li>
                        </ul>
                    </li>

                    <%--员工离职管理--%>
                    <li class="hasul"><a href="#wizard.html" title="Wizard"><img src="images/navicons/112.png" alt=""/><span>员工离职管理</span></a>
					  <ul>
					    <li class="hasul"><a href="#doc-calendar.html" title="Documentation"><span>员工离职管理</span></a>
					      <ul>
					        
					        
					        <li><a href="#leave/apply-hr-audit-main.xhtml" title="Groups"><img src="images/navicons/112.png" alt=""/><span> HR审核 </span></a></li>
					        <li><a href="#leave/apply-audit-main.xhtml" title="Groups"><img src="images/navicons/112.png" alt=""/><span> 员工离职审核 </span></a></li>
					        <li><a href="#leave/apply-list-main.xhtml" title="Settings"><img src="images/navicons/106.png" alt=""/><span>员工离职浏览</span></a></li>
					        <li><a href="#leave/project-main.xhtml" title="Settings"><img src="images/navicons/106.png" alt=""/><span>离职项目管理</span></a></li>
					        <li><a href="#leave/procedures-main.xhtml" title="Settings"><img src="images/navicons/106.png" alt=""/><span>离职手续办理</span></a></li>
					        <li><a href="#leave/analysis-main.xhtml?t=<%=new java.util.Date()%>" title="Settings"><img src="images/navicons/106.png" alt=""/><span>员工离职分析管理</span></a></li>
					      </ul>
					    </li>
					  </ul>
					</li>

                    <%--人力资源规划--%>
                    <li class="hasul"><a href="#"><img src="images/navicons/111.png" alt=""/><span>人力资源规划</span></a>
                        <ul>
                            <li class="hasul"><a href="#"><img src="images/navicons/111.png" alt=""/><span>组织架构管理</span></a>
                                <ul>
                                    <li><a href="#organization/apply.xhtml" title="Users"><img src="images/navicons/111.png" alt=""/><span>新建组织架构</span></a></li>
                                    <li><a href="#organization/edit.xhtml" title="Users"><img src="images/navicons/111.png" alt=""/><span>修改组织架构</span></a></li>
                                    <li><a href="#organization/audit_list_main.xhtml" title="Groups"><img src="images/navicons/112.png" alt=""/><span>审核组织架构</span></a> </li>
                                    <li><a href="#organization/list.xhtml" title="Settings"><img src="images/navicons/106.png" alt=""/><span>浏览组织架构</span></a> </li>
                                </ul>
                            </li>
                            <li class="hasul"><a href="#" title="Groups"><img src="images/navicons/112.png" alt=""/><span>职位设置管理</span></a>
                                <ul>
                                    <li><a href="#rank/duty.xhtml" title="Users"><img src="images/navicons/111.png" alt=""/><span>职务设置</span></a> </li>
                                    <li><a href="#rank/grade.xhtml" title="Groups"><img src="images/navicons/112.png" alt=""/><span>职等设置</span></a></li>
                                    <li><a href="#rank/job_specification.xhtml?operation=set" title="Settings"><img src="images/navicons/106.png" alt=""/><span>工作说明书设置</span></a> </li>
                                    <li><a href="#rank/job_specification.xhtml?operation=audit" title="Settings"><img src="images/navicons/106.png" alt=""/><span>工作说明书审核</span></a> </li>
                                    <li><a href="#rank/job_specification.xhtml?operation=search" title="Settings"><img src="images/navicons/106.png" alt=""/><span>工作说明书查询</span></a> </li>
                                </ul>
                            </li>
                            <li class="hasul"><a href="#" title="Settings"><img src="images/navicons/106.png" alt=""/><span>工号管理</span></a>
                                <ul>
                                    <li><a href="#workno/main.xhtml" title="Users"><img src="images/navicons/111.png" alt=""/><span>工号规则设置</span></a>
                                    </li>
                                </ul>
                            </li>
                            <li class="hasul"><a href="#" title="Logout"><img src="images/navicons/129.png" alt=""/><span>职务代理人管理</span></a>
                                <ul>
                                    <li><a href="#duty_proxy/main.xhtml?operation=set" title="Users"><img src="images/navicons/111.png" alt=""/><span>职务代理人设置</span></a></li>
                                    <li><a href="#duty_proxy/main.xhtml?operation=audit" title="Groups"><img src="images/navicons/112.png" alt=""/><span>职务代理人审核</span></a>
                                    </li>
                                    <li><a href="#duty_proxy/main.xhtml?operation=list" title="Settings"><img src="images/navicons/106.png" alt=""/><span>职务代理人浏览</span></a>
                                    </li>
                                </ul>
                            </li>
                        </ul>
                    </li>

                    <%--经理人桌面--%>
                    <li class="hasul"><a href="#"><img src="images/navicons/20.png" alt=""/><span>经理人桌面</span></a>
					  <ul>
					    <li class="hasul"><a href="#wysiwyg.html" title="WYSIWYG Editor"><img src="images/navicons/26.png" alt=""/><span>员工自助管理-签核系统</span></a>
					      <ul>
					        <li><a href="#sign/financial-report-form.xhtml" title="Users"><img src="images/navicons/111.png" alt=""/><span>财务签核系统</span></a></li>
					        <li><a href="#sign/administration-evection-apply-form.xhtml" title="Groups"><img src="images/navicons/112.png" alt=""/><span> 行政签核系统 </span></a></li>
					      </ul>
					    </li>
					  </ul>
					</li>

                    <%--Much Hub--%>
                    <li class="hasul"><a href="#wysiwyg.html" title="WYSIWYG Editor"><img src="images/navicons/26.png" alt=""/><span>Much Hub</span></a>
                        <ul>
                            <li class="hasul"><a href="#wysiwyg.html" title="WYSIWYG Editor"><img src="images/navicons/26.png" alt=""/><span>综合信息平台</span></a>
                                <ul>
                                    <li><a href="#public/message-list.xhtml" title="Users"><img src="images/navicons/111.png" alt=""/><span>信息中心</span></a></li>
                                    <li class="hasul"><a href="javascript:void(0)" title="Users"><img src="images/navicons/111.png" alt=""/><span>签核系统</span></a>
                                        <ul>
                                            <li><a href="#public/financial-report-form.xhtml" title="Users"><img src="images/navicons/111.png" alt=""/><span>财务签核系统</span></a></li>
                                            <li><a href="#public/administration-evection-apply-form.xhtml" title="Users"><img src="images/navicons/111.png" alt=""/><span>行政签核系统</span></a></li>
                                        </ul>

                                    </li>
                                </ul>
                            </li>
                            <li class="hasul"><a href="javascript:void(0)" title="Groups"><img src="images/navicons/112.png" alt=""/><span> 员工培训 </span></a>
                                <ul>
                                    <li><a href="#public/plan_person_main.xhtml" title="Users"><img src="images/navicons/111.png" alt=""/><span>培训计划浏览</span></a></li>
                                    <li ><a href="#public/plan_assess_person_main.xhtml" title="Groups"><img src="images/navicons/112.png" alt=""/><span> 教育成果改善 </span></a>
                                    <li><a href="#public/plan_assess_outing_main.xhtml" title="Users"><img src="images/navicons/111.png" alt=""/><span>教育成果改善(外训)</span></a></li>

                                </ul>
                            </li>
                            <li class="hasul"><a href="javascript:void(0)" title="Groups"><img src="images/navicons/112.png" alt=""/><span> 员工离职 </span></a>
                                <ul>
                                    <li><a href="#public/leave-office-apply-list.xhtml" title="Groups"><img src="images/navicons/112.png" alt=""/><span> 员工离职申请&结果 </span></a></li>

                                </ul>
                            </li>
                            <li class="hasul"><a href="javascript:void(0)" title="Groups"><img src="images/navicons/112.png" alt=""/><span> 考核查询 </span></a>
                                <ul>
                                    <li><a href="#public/qual_score_browse_user.xhtml" title="Users"><img src="images/navicons/111.png" alt=""/><span>定性考核历史浏览</span></a></li>
                                    <li><a href="#public/quan_score_browse_user.xhtml" title="Groups"><img src="images/navicons/112.png" alt=""/><span> 定量考核历史浏览 </span></a></li>
                                </ul>
                            </li>
                            <li class="hasul"><a href="javascript:void(0)" title="Groups"><img src="images/navicons/112.png" alt=""/><span> 薪酬查询 </span></a>
                                <ul>
                                    <li><a href="#public/salary_person_statistics.xhtml" title="Groups"><img src="images/navicons/112.png" alt=""/><span> 员工薪资 </span></a></li>
                                </ul>
                            </li>
                            <%--
                            <li><a href="#MH_会议通知.html" title="Groups"><img src="images/navicons/112.png" alt=""/><span> 会议通知 </span></a></li>
                            <li><a href="#" title="Groups"><img src="images/navicons/112.png" alt=""/><span> 交办事项 </span></a></li>
                            <li><a href="#MH_日程管理.html" title="Groups"><img src="images/navicons/112.png" alt=""/><span> 日程管理 </span></a></li>
                            <li><a href="#" title="Groups"><img src="images/navicons/112.png" alt=""/><span> 通讯录 </span></a></li>
                            <li><a href="#" title="Groups"><img src="images/navicons/112.png" alt=""/><span> 考勤查询 </span></a></li>
                            <li><a href="#" title="Groups"><img src="images/navicons/112.png" alt=""/><span> 邮件管理 </span></a></li>
                            --%>
                        </ul>
                    </li>

                    <%--账号设置及审核--%>
                    <li class="hasul"><a href="#dashboard.html" title="账号设置及审核"><img src="images/navicons/106.png" alt=""/><span>账号设置及审核</span></a>
                        <ul>
                            <li><a href="#authority/audit_config.xhtml" title="CheckConfiguration"><img src="images/navicons/111.png" alt=""/><span>审核配置</span></a></li>
                            <li><a href="#user/setup.xhtml" title="Accounts"><img src="images/navicons/111.png" alt=""/><span>账号设置</span></a></li>
                            <li><a href="#authority/role_main.xhtml" title="CheckConfiguration"><img src="images/navicons/111.png" alt=""/><span>权限设置</span></a></li>
                        </ul>
                    </li>
                    
                    <li class="current"><a href="#views/main_temp.xhtml" title="企业员工概况">
                        <img src="images/navicons/56.png" alt=""/><span>企业管理平台首页</span></a>
                    </li>
                    <br/><br/><br/><br/><br/><br/><br/>
                </ul>
            </nav>
        </aside>

        <!-- Sidebar End -->

        <section>
            <header>
                <div class="container_12 clearfix">
                    <a href="#menu" class="showmenu button">Menu</a>

                    <h1 class="grid_12">Dashboard</h1>
                </div>
            </header>
            <section id="main-content" class="clearfix">


            </section>
            <footer class="clearfix">
                <div class="container_12">
                    <div class="grtrid_12">
                        Copyright &copy; 2012. Theme by <a target="_blank" href="#">Dotrue HR</a>
                    </div>
                </div>
            </footer>
        </section>

        <!-- Main Section End -->
    </section>
</div>

<!-- MAIN JAVASCRIPTS -->
<script src="js/jquery-1.7.min.js"></script>
<script>window.jQuery || document.write("<script src='js/jquery.min.js'>\x3C/script>")</script>
<script type="text/javascript" src="js/jquery.tools.min.js"></script>
<script type="text/javascript" src="js/jquery.uniform.min.js"></script>
<script type="text/javascript" src="js/jquery.easing.js"></script>
<script type="text/javascript" src="js/jquery.ui.totop.js"></script>
<script type="text/javascript" src="js/jquery.itextsuggest.js"></script>
<script type="text/javascript" src="js/jquery.itextclear.js"></script>
<script type="text/javascript" src="js/jquery.hashchange.min.js"></script>
<script type="text/javascript" src="js/jquery.drilldownmenu.js"></script>
<script type="text/javascript" src="js/jquery.popover.js"></script>
<script type="text/javascript" src="${ctx}/datepicker/WdatePicker.js"></script>

<!--[if lt IE 9]>
<script type="text/javascript" src="js/PIE.js"></script>
<script type="text/javascript" src="js/ie.js"></script>
<![endif]-->

<script type="text/javascript" src="js/global.js"></script>
<!-- MAIN JAVASCRIPTS END -->

<!-- LOADING SCRIPT -->
<script>
    $(window).load(function() {
        $("#loading").fadeOut(function() {
            $(this).remove();
            $('body').removeAttr('style');
        });
    });
</script>
<!-- LOADING SCRIPT -->

<!-- POPOVERS SETUP-->
<div id="activity-popover" class="popover">
    <header>
        Activity
    </header>
    <section>
        <div class="content">
            <nav>
                <ul>
                    <li class="new"><a><span class="avatar"></span>John Doe created a new project</a></li>
                    <li class="read"><a><span class="avatar"></span>John Doe created a new project</a></li>
                    <li class="read"><a><span class="avatar"></span>Jane Doe updated a project</a></li>
                    <li class="read"><a><span class="avatar"></span>John Doe uploaded a document</a></li>
                    <li class="read"><a><span class="avatar"></span>John Doe deleted a project</a></li>
                    <li class="read"><a><span class="avatar"></span>John Doe marked a project as done</a></li>
                </ul>
            </nav>
        </div>
    </section>
</div>
<div id="notifications-popover" class="popover">
    <header>
        Notifications
    </header>
    <section>
        <div class="content">
            <nav>
                <ul>
                    <li class="new"><a><span class="avatar"></span>John Doe created a new project</a></li>
                    <li class="new"><a><span class="avatar"></span>John Doe created a new project</a></li>
                    <li class="new"><a><span class="avatar"></span>Jane Doe updated a project</a></li>
                    <li class="read"><a><span class="avatar"></span>John Doe uploaded a document</a></li>
                    <li class="read"><a><span class="avatar"></span>John Doe deleted a project</a></li>
                    <li class="read"><a><span class="avatar"></span>John Doe marked a project as done</a></li>
                    <li><a href="#notifications.html" title="Notifications">See notification styles and growl like
                        messages...</a></li>
                </ul>
            </nav>
        </div>
    </section>
</div>
<div id="settings-popover" class="popover">
    <header>
        Settings
    </header>
    <section>
        <div class="content">
            <nav>
                <ul>
                    <li><a href="#authority/audit_config.xhtml">审核配置</a></li>
                    <li><a href="#user/setup.xhtml">帐号设置</a></li>
                </ul>
            </nav>
        </div>
    </section>
</div>
<script>
    $(document).ready(function() {
        //add.wxn for temp
        //$('#activity-button').popover('#activity-popover', {preventRight: true});
        //$('#notifications-button').popover('#notifications-popover', {preventRight: true});
        $('#settings-button').popover('#settings-popover', {preventRight: true});

        /**
         * setup search
         */
        function googleSearch(q) {
            $('#searchform .searchbox a').fadeOut()
            $.ajax({
                url: 'php/google_search_results.php',
                data: 'q=' + encodeURIComponent(q),
                cache: false,
                success: function(response) {
                    $('.search_results').html(response);
                }
            });
        }

        // Set iTextSuggest
        $('#searchform .searchbox').length && $('#searchform .searchbox').find('input[type=text]').iTextClear().iTextSuggest({
            url: 'php/google_suggestions_results.php',
            onKeydown: function(query) {
                googleSearch(query);
            },
            onChange: function(query) {
                googleSearch(query);
            },
            onSelect: function(query) {
                googleSearch(query);
            },
            onSubmit: function(query) {
                googleSearch(query);
            },
            onEmpty: function() {
                $('.search_results').html('');
            }
        }).focus(function() {
            $('#wrapper > section > aside > nav > ul').fadeOut(function() {
                $('#searchform .search_results').show();
            });
            $(this).parents('#searchform .searchbox').animate({marginRight: 70}).next().fadeIn();
        });

        $('#searchform .searchcontainer').find('input[type=button]').click(function() {
            $('#searchform .search_results').hide();
            $('#searchform .searchbox').find('input[type=text]').val('');
            $('#searchform .search_results').html('');
            $('#wrapper > section > aside > nav > ul').fadeIn();
            $('.searchbox', $(this).parent()).animate({marginRight: 0}).next().fadeOut();
        });
    });

    function changePassword(){
        var password = window.prompt("请输入新密码", "");
        if(password != null && password.length > 0){
            $.ajax({
                url: '${ctx}/ajax/modify-password.xhtml?password='+password,
                cache: false,
                type:"json",
                success: function(response) {
                    if(response == null){
                        alert("修改失败")
                    }else{
                        alert("修改成功，请将以下字符串保存在指定位置\n"+response);
                    }
                }
            });
        }
    }
</script>
<!-- POPOVERS SETUP END-->

</body>
</html>


